#pragma once

class RGBColor
{
public:
	RGBColor(double r, double g, double b)
		: _r(r), _g(g), _b(b)
	{
	}

	double R() const { return _r; }
	double G() const { return _g; }
	double B() const { return _b; }

protected:
	double _r;
	double _g;
	double _b;
};